package com.zhuo.project.k3.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 卓正部门信息对象 zz_department
 * 
 * @author ruoyi
 * @date 2020-03-18
 */
@ApiModel("部门实体")
public class ZzDepartmentDto
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    @ApiModelProperty(name = "编码")
    private String fnumber;

    /** 名称 */
    @ApiModelProperty(name = "名称")
    private String fname;

    /** 上级部门 */
    @ApiModelProperty(name = "上级部门")
    private String fparentid;

    /** 数据状态 */
    @ApiModelProperty(name = "数据状态")
    private String fdocumentstatus;

    /** 禁用状态 */
    @ApiModelProperty(name = "禁用状态")
    private Integer fforbidstatus;

    /** 部门全称 */
    @ApiModelProperty(name = "部门全称")
    private String ffullname;

    /** 创建组织 */
    @ApiModelProperty(name = "创建组织")
    private String fcreateorgid;

    /** 使用组织 */
    @ApiModelProperty(name = "使用组织")
    private String fuseorgid;

    public ZzDepartmentDto() {
    }

    public ZzDepartmentDto(String fnumber, String fname, String fparentid, String fdocumentstatus,
            Integer fforbidstatus, String ffullname, String fcreateorgid, String fuseorgid) {
        this.fnumber = fnumber;
        this.fname = fname;
        this.fparentid = fparentid;
        this.fdocumentstatus = fdocumentstatus;
        this.fforbidstatus = fforbidstatus;
        this.ffullname = ffullname;
        this.fcreateorgid = fcreateorgid;
        this.fuseorgid = fuseorgid;
    }

    public void setFnumber(String fnumber)
    {
        this.fnumber = fnumber;
    }

    public String getFnumber() 
    {
        return fnumber;
    }
    public void setFname(String fname) 
    {
        this.fname = fname;
    }

    public String getFname() 
    {
        return fname;
    }
    public void setFparentid(String fparentid) 
    {
        this.fparentid = fparentid;
    }

    public String getFparentid() 
    {
        return fparentid;
    }
    public void setFdocumentstatus(String fdocumentstatus) 
    {
        this.fdocumentstatus = fdocumentstatus;
    }

    public String getFdocumentstatus() 
    {
        return fdocumentstatus;
    }
    public void setFforbidstatus(Integer fforbidstatus) 
    {
        this.fforbidstatus = fforbidstatus;
    }

    public Integer getFforbidstatus() 
    {
        return fforbidstatus;
    }
    public void setFfullname(String ffullname) 
    {
        this.ffullname = ffullname;
    }

    public String getFfullname() 
    {
        return ffullname;
    }
    public void setFcreateorgid(String fcreateorgid) 
    {
        this.fcreateorgid = fcreateorgid;
    }

    public String getFcreateorgid() 
    {
        return fcreateorgid;
    }
    public void setFuseorgid(String fuseorgid) 
    {
        this.fuseorgid = fuseorgid;
    }

    public String getFuseorgid() 
    {
        return fuseorgid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fnumber", getFnumber())
            .append("fname", getFname())
            .append("fparentid", getFparentid())
            .append("fdocumentstatus", getFdocumentstatus())
            .append("fforbidstatus", getFforbidstatus())
            .append("ffullname", getFfullname())
            .append("fcreateorgid", getFcreateorgid())
            .append("fuseorgid", getFuseorgid())
            .toString();
    }
}
